package com.hwk;

import java.util.Deque;
import java.util.LinkedList;
import java.util.Queue;
import java.util.Stack;

public class Test {
    public static void main(String[] args) {
        Deque<Integer> deque = new LinkedList<>();
        deque.offer(1);
        deque.offerFirst(2);
        deque.offer(3);
        System.out.println(deque);

        System.out.println(deque.getLast());

        Queue queue ;
        Stack stack;
    }
}
